../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/internals/memory.d(122,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/internals/memory.d(128,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/bufferedtcp.d(49,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/bufferedtcp.d(68,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/bufferedtcp.d(190,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/bufferedtcp.d(206,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/bufferedtcp.d(221,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/tcp.d(28,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/tcp.d(57,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/tcp.d(74,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/tcp.d(84,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/tcp.d(94,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/tcp.d(104,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/tcp.d(121,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/tcp.d(156,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/tcp.d(212,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/tcp.d(225,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/tcp.d(232,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/tcp.d(240,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/tcp.d(257,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/tcp.d(277,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/udp.d(22,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/udp.d(39,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/udp.d(46,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/udp.d(55,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/udp.d(66,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/udp.d(82,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/udp.d(108,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/uds.d(45,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/uds.d(74,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/uds.d(81,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/uds.d(111,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/uds.d(161,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/uds.d(177,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/uds.d(186,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/uds.d(200,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/event.d(26,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/event.d(55,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/event.d(76,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/notifier.d(25,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/dns.d(77,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/dns.d(102,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/threads.d(11,3): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/timer.d(26,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/timer.d(47,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/timer.d(69,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/timer.d(87,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/signal.d(36,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/signal.d(73,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/signal.d(91,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/watcher.d(28,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/watcher.d(136,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/file.d(102,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/file.d(175,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/file.d(246,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/socket.d(468,4): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/socket.d(488,4): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/socket.d(506,4): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/socket.d(590,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/socket.d(601,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/socket.d(617,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/socket.d(678,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/socket.d(696,4): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/socket.d(740,4): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/socket.d(858,4): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/socket.d(924,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/socket.d(928,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/socket.d(933,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/posix.d(135,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/posix.d(1882,4): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/posix.d(1918,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/posix.d(2731,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/posix.d(2803,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/posix2.d(11,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/posix2.d(51,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/posix2.d(90,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. ../5b9a8447c5b47a8463f5ba50-libasync/source/libasync/posix2.d(392,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. Enhanced memory security is enabled. Memory debugger enabled Using Linux EPOLL for events src/lighttp/client/client.d(83,22): Error: cast from `string` to `ubyte[]` not allowed in safe code src/lighttp/server/resource.d(47,16): Error: cast from `const(void)[]` to `string` not allowed in safe code src/lighttp/server/resource.d(49,16): Error: cast from `const(void)[]` to `string` not allowed in safe code src/lighttp/server/resource.d(130,17): Error: cast from `const(void[])` to `string` not allowed in safe code /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(525,41): Error: `@safe` function `std.regex.internal.ir.RuntimeFactory!(BacktrackingMatcher, char).RuntimeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(36,28): Error: template instance `std.regex.internal.ir.RuntimeFactory!(BacktrackingMatcher, char)` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(1025,25): instantiated from here: `makeRegex!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(443,19): instantiated from here: `Parser!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(391,25): instantiated from here: `regexImpl!string` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(399,17): ... (3 instantiations, -v to show) ... src/lighttp/server/router.d(307,32): instantiated from here: `routeInfo!()` src/lighttp/server/router.d(43,15): instantiated from here: `Get!()` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(525,41): Error: `@safe` function `std.regex.internal.ir.RuntimeFactory!(ThompsonMatcher, char).RuntimeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(38,27): Error: template instance `std.regex.internal.ir.RuntimeFactory!(ThompsonMatcher, char)` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(1025,25): instantiated from here: `makeRegex!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(443,19): instantiated from here: `Parser!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(391,25): instantiated from here: `regexImpl!string` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(399,17): ... (3 instantiations, -v to show) ... src/lighttp/server/router.d(307,32): instantiated from here: `routeInfo!()` src/lighttp/server/router.d(43,15): instantiated from here: `Get!()` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(738,46): Error: template instance `std.regex.internal.ir.defaultFactory!char` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(852,24): instantiated from here: `__ctor!(const(Regex!char))` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(1034,21): instantiated from here: `matchMany!(Regex!char, string)` src/lighttp/server/router.d(185,44): instantiated from here: `matchAll!(string, Regex!char)` src/lighttp/server/router.d(206,26): ... (3 instantiations, -v to show) ... src/lighttp/server/router.d(113,11): instantiated from here: `add!(Regex!char, HttpImpl!(cast(User)1, cast(Type)0), HttpImpl!(cast(User)1, cast(Type)1))` src/lighttp/server/router.d(43,11): instantiated from here: `add!(Regex!char)` src/lighttp/server/router.d(194,25): Error: forward reference to inferred return type of function call `function () { typeof(() { foreach (i; 0 .. 0LU) { return i; } assert(0); } ())[] __res1446; foreach (i; 0 .. 0LU) { __res1446 ~= i; } return __res1446; } ()` src/lighttp/server/server.d(235,26): Error: cannot implicitly convert expression `__lambda2` of type `void delegate() @system` to `void delegate()` src/lighttp/server/server.d(235,26): Error: cannot implicitly convert expression `__lambda2` of type `void delegate() @system` to `void delegate()` src/lighttp/server/server.d(282,19): Error: cast from `string` to `ubyte[]` not allowed in safe code /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.